package com.forlove.app.qselect;

import com.forlove.app.common.base.mvp.entity.BaseEntity;
import com.forlove.app.common.base.serializer.JSONKey;

import org.json.JSONObject;

/**
 * 接口返回的公共参数
 * Created by yjl on 2017/10/17.
 */

public class CommonEntity extends BaseEntity {
    @JSONKey(keys = "state", type = Integer.class)
    public int state = 1;

    @JSONKey(keys = "code", type = String.class)
    public String code;


    @JSONKey(keys = "time", type = Long.class)
    public long time;

    @JSONKey(keys = "referer", type = String.class)
    public String referer;

    @JSONKey(keys = "message", type = String.class)
    public String message;

    @JSONKey(keys = "data", type = JSONObject.class)
    public JSONObject data;
}
